Neurosis Engine
base64.h
Go to the documentation of this file.
00001 
00002 // Neurosis Engine - LP23.com
00003 // Copyright © Luigi Pino. All rights reserved.
00004 
00005 /***************************************************************************/
00006 
00007 #ifndef _NEUROSIS_ENGINE_BASE64_H_
00008 #define _NEUROSIS_ENGINE_BASE64_H_
00009 
00010 /***************************************************************************/
00011 
00012 class CNeurosisBase64 {
00013   public:
00014     CNeurosisBase64();
00016     ~CNeurosisBase64();
00017 
00018     // Decode
00019     static unsigned long  Decode(void *dest, const void *src, unsigned long size);
00021     static unsigned long  Decode_Get_Length(unsigned long size);
00023     static CString        Decode_String(const char *stringEncoded, ...);
00025     static unsigned long  Encode(void *dest, const void *src, unsigned long size);
00027     static unsigned long  Encode_Get_Length(unsigned long size);
00029     static CString        Encode_String(const char *stringDecoded, ...);
00030 };
00031 
00032 /***************************************************************************/
00033 #endif